/*
package com.wzdigit.wms.wms.task;

import com.wzdigit.wms.basic.domain.asn.AsnHeader;
import com.wzdigit.wms.basic.mapper.core.order.AsnHeaderMapper;
import com.wzdigit.wms.wms.service.task.AsnStatusTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

*/
/**
 * 
 * 定时任务-更新收获单状态
 * @author Administrator
 *
 *//*

@ConditionalOnExpression("${schedule.common.switch}")
@Component
public class AsnStatusTask {
    @Autowired
    private AsnStatusTaskService asnStatusTaskService;

    //@Scheduled(cron = "0 0 2 * * ?")
    @Scheduled(cron = "0 0/5 * * * ?")
    public void execute() {
        asnStatusTaskService.asnStatusTaskNew();
    }
}*/
